// GameConfig.h

#ifndef __GAMECONFIG_H__
#define __GAMECONFIG_H__

#include "..\Core\Singleton.h"

class CGameConfig : public Singleton<CGameConfig>
{
public:
	struct TGraphics
	{
		BOOL bWindowed;
		int nWidth;
		int nHeight;
	};

	struct TSound
	{
		int nMusicVolume;
		int nSoundVolume;
	};

	struct TGamePlay
	{
		int nGameSpeed;
	};
private:

private:
	void ParseConfig(const WCHAR* pwszTag, const WCHAR* pwszValue);
public:
	CGameConfig(void);
	virtual ~CGameConfig();

	bool Load();
	bool Save();
};

#endif